@import "partials/mixins";
#town {
  width: 100%;
  height: 100%; // background-color: #000;
  .building {
    height: 370px;
  }
  .town-bottom {
    height: 30px;
  }
  .shop {
    background-color: #fff;
    opacity: 0.6;
    color: #000;
    width: 250px;
    height: 35px;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 15px;
    .shop-icon {
      margin-right: 10px;
      margin-left: 15px;
      width: 28px;
      height: 28px;
      background: url('~img/shop.png') no-repeat center center;
      background-size: 18px 18px;
      background-color: #666;
      border-radius: 28px;
    }
    .icon {
      margin-right: 10px;
      margin-left: 15px;
      width: 28px;
      height: 28px;
      background-color: #666;
      border-radius: 28px;
      font-size: 18px;
    }
    .arrow {
      width: 18px;
      height: 18px;
      background: url('~img/go.png') no-repeat center center;
      background-size: 18px 18px;
    }
  }
  .riskBag {
    width: 80px;
    height: 22px;
    line-height: 22px;
    background-color: #999;
    padding: 0 5px;
    border-radius: 5px;
    font-weight: bold;
    color: #1C1B20;
  }
  .go {
    width: 80px;
    height: 22px;
    line-height: 22px;
    background-color: #999;
    padding: 0 5px;
    border-radius: 5px;
    font-weight: bold;
    color: #1C1B20;
    box-shadow: 2px 0px 5px #666, 0px -2px 5px #666, -2px 0px 5px #666, 0px 2px 5px #666;
    animation: twinkling 2.5s infinite 0.9s ease-in-out alternate;
    .go-left {
      width: 22px;
    }
    .go-icon {
      width: 22px;
      height: 22px;
      background: url('~img/logout3.png') no-repeat center 3px;
      background-size: 14px 14px;
    }
  }
  .warehouse {
    background-color: #000;
    padding: 5px;
    .font {
      margin-right: 5px;
    }
  }
  @-webkit-keyframes twinkling {
    /*透明度由0到1*/
    0% {
      box-shadow: 2px 0px 5px #666, 0px -2px 5px #666, -2px 0px 5px #666, 0px 2px 5px #666;
      opacity: 0.5;
      /*透明度为0*/
    }
    100% {
      box-shadow: 2px 0px 5px #222, 0px -2px 5px #222, -2px 0px 5px #222, 0px 2px 5px #222;
      opacity: 0.9;
      /*透明度为1*/
    }
  }
}